package com.md.api.authentication;

import com.md.model.page.PageResponse;
import com.md.model.request.system.api.QueryApiRequest;
import com.md.model.response.system.ApiResponse;
import com.md.model.system.CommonResult;
import com.md.value.constants.ApiConstants;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author 刘骄阳
 * 2022-09-27 18:15
 */
@Api(tags = ApiConstants.API)
public interface ApiApi {
  /**
   * 分页查询接口
   *
   * @param request 请求实体
   * @return 操作结果
   */
  @PostMapping("/api/select/page")
  @ApiOperation("分页查询接口")
  CommonResult<PageResponse<ApiResponse>> selectPage(@RequestBody QueryApiRequest request);
}
